package com.yht.weblog.web.convert;

import com.yht.weblog.common.domain.dos.BlogSettingsDO;
import com.yht.weblog.web.model.vo.blogsettings.FindBlogSettingsRspVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author: yht
 * @date: 2024/1/12 23:10
 * @description:
 **/
@Mapper
public interface BlogSettingsConvert {

    /**
     * 初始化 convert 实例
     */
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);

    /**
     * 将DO转换为VO
     * @param blogSettingsDO
     * @return
     */
    FindBlogSettingsRspVO convertDO2VO(BlogSettingsDO blogSettingsDO);

}
